@NonAuth
Feature: Search Games
File name: search.feature
Relative path: navigations/search.feature
When
the user enters the name of a game "Horizon Hunters" in the search bar
00:00:00.672
+ Screenshot
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#js-searchList')
Expected string: [32m"Book of Dead"[39m
Received string: [31m""[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#js-searchList')[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
[2m - locator resolved to (div id="js-searchList" class="search-panel-list search-panel-hidden")(/div)[22m
[2m - unexpected value ""[22m
at Proxy.(anonymous) (C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\node_modules\playwright\lib\matchers\expect.js:194:37)
at SearchPage.(anonymous) (C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\src\pages\menus\searchPage.ts:27:46)
at C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\src\pages\menus\searchPage.ts:8:71
at __awaiter (C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\src\pages\menus\searchPage.ts:4:12)
at SearchPage.isSearchResultDisplayed (C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\src\pages\menus\searchPage.ts:33:16)
at World.(anonymous) (C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\src\test\steps\navigation\searchSteps.ts:10:40)
at C:\Projects\TUTORIALS\PlaywrightCucumberTypescript\src\test\steps\navigation\searchSteps.ts:8:71
And
the user clicks on the "Book of Dead" from search results
0s
Then
the user is on the page of "Book of Dead"
0s
When
the user enters the name of a game "Lady Wolf Moon" in the search bar
00:00:00.855
+ Screenshot